package org.gaming.fakecmd.side.game;

import java.util.HashSet;
import java.util.Set;

public enum PlayerCmdLogFilter {
    ;

    public static boolean isFilter(int cmd) {
        return FILTERS.contains(cmd);
    }

    public static void add(int cmd) {
        FILTERS.add(cmd);
    }

    public static void remove(int cmd) {
        FILTERS.remove(cmd);
    }

    public static void clear() {
        FILTERS.clear();
    }

    static final Set<Object> FILTERS = new HashSet<>();
}
